package com.tcp2.msg.rpc;

/**
 * Author: 杨俊辉
 * Time: 2014-10-14 19:20
 * Copyright (C) 2014 Xiamen Yaxon Networks CO.,LTD.
 */

import java.io.Serializable;

/**
 * 拍摄位置地点数据体
 */
public class GnssData implements Serializable {

     private Byte encrypt; //加密标识：1-已加密，0-未加密。
     private String date; //年月日 如：2011年09月01日
     private String time; //时间  时分秒(hms)，如：12:58:34
     private Integer lon; //经度
     private Integer lat; //纬度
     private Short vec1; //速度，指卫星定位车载终端设备上传的行车速度信息，为必填项。单位为千米每小时(km/h)
     private Short vec2; //行驶记录速度，指车辆行驶记录设备上传的行车速度信息。单位为千米每小时(km/h)。
     private Integer vec3; //行驶记录速度，指车辆行驶记录设备上传的行车速度信息。单位为千米每小时(km/h)。
     private Short direction; //方向，0-359，单位为度(°)，正北为0，顺时针
     private Short altitude;//海拔高度，单位为米(m)
     private Integer state; //车辆状态
     private Integer alarm; //报警状态

    public Byte getEncrypt() {
        return encrypt;
    }

    public void setEncrypt(Byte encrypt) {
        this.encrypt = encrypt;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Integer getLon() {
        return lon;
    }

    public void setLon(Integer lon) {
        this.lon = lon;
    }

    public Integer getLat() {
        return lat;
    }

    public void setLat(Integer lat) {
        this.lat = lat;
    }

    public Short getVec1() {
        return vec1;
    }

    public void setVec1(Short vec1) {
        this.vec1 = vec1;
    }

    public Short getVec2() {
        return vec2;
    }

    public void setVec2(Short vec2) {
        this.vec2 = vec2;
    }

    public Integer getVec3() {
        return vec3;
    }

    public void setVec3(Integer vec3) {
        this.vec3 = vec3;
    }

    public Short getDirection() {
        return direction;
    }

    public void setDirection(Short direction) {
        this.direction = direction;
    }

    public Short getAltitude() {
        return altitude;
    }

    public void setAltitude(Short altitude) {
        this.altitude = altitude;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getAlarm() {
        return alarm;
    }

    public void setAlarm(Integer alarm) {
        this.alarm = alarm;
    }

    @Override
    public String toString() {
        return "GnssData{" +
                "encrypt=" + encrypt +
                ", date='" + date + '\'' +
                ", time='" + time + '\'' +
                ", lon=" + lon +
                ", lat=" + lat +
                ", vec1=" + vec1 +
                ", vec2=" + vec2 +
                ", vec3=" + vec3 +
                ", direction=" + direction +
                ", altitude=" + altitude +
                ", state=" + state +
                ", alarm=" + alarm +
                '}';
    }
}
